package com.java.mapper;

import com.java.entity.House;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HouseMapper {
     List<House> findHouse(@Param("city") String city,@Param("estate")String estate);

     House findHouseById(String houseId);

     Boolean insertCollection(@Param("userId")Integer userId,@Param("houseId")int houseId );

     //获取审核房屋列表
     List<House> selectByHaudit();

     //通过审核
     void updateHaudit(Integer houseId);
}
